package com.gem.service;

import com.gem.domain.Student;
import com.gem.domain.StudentAPI;
import com.gem.util.ConditionUtil;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Apolar_GuanYH-管阳红
 * Description: 学生服务接口
 * create 2019/11/5 21:36
 * Modified By:
 */
public interface StudentService {

    //按班级表ID查询所有学生
    List<Student> selectAllStuByClassService(Integer classId);

    //按学生ID查询学生
    List<Student> selectStuBySidService(Integer sId);

    //增加学生
    boolean addStuService(List<StudentAPI> stuAPIList);

    //删除（伪删）学生
    boolean deleteStuService(Integer sId);

    //修改学生
    boolean updateStuService(StudentAPI stuAPI);

    //条件查询
    List<Student> selectStuByCondition(ConditionUtil cu);
}
